package com.leapp.sk.sever.classs

import com.example.util.ObjectProcessingUtil
import com.leapp.sk.bean.TransferTecherEntity
import com.leapp.sk.bean.response.classs.TeacherListResponseEntity

/**
 * 转让老师
 * @author  chaohaipeng  on 2018/8/20.
 */
class TransferTecherSever {
    private object mHolder {
        val instance = TransferTecherSever()
    }
    companion object {
        fun getInstance(): TransferTecherSever {
            return mHolder.instance
        }
    }

    /**
     * 获取数据列表
     */
    fun getDataList(obj: TeacherListResponseEntity?):List<TransferTecherEntity>{
        val transferTecherEntity = ObjectProcessingUtil.objMandatoryConversionClass(obj?.data, mutableListOf<TransferTecherEntity>())
        return transferTecherEntity
    }



}